<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>收货地址</title>
<jsp:include page="header.jsp"></jsp:include>
</head>
<body>
 <div class="J-header"></div>
            <div class="wrap">
            	<div class="w member">
            	<div class="breadNavBg">
		            <div class="breadNav pb10">
		                <div><a>首页</a>&nbsp;&gt;&nbsp;</div><a href="member-index.jsp">会员中心</a>&nbsp;&gt;&nbsp;<span>设置中心</span>
		            </div>
		        </div><!--breadNavBg-->
		         <div class="fl leftmenu">
                      <h3 class="font14"><i class="arr"></i><b>会员中心</b><span>Member Center</span></h3>
                      <ul>
               <li class="title">采购中心</li>
               <li><a href="ShowOrderServlet">我的采购单</a></li>
               <li><a href="ShowMyOrderServlet">取消我的采购单</a></li>
	          </ul>
	          <ul>
               <li class="title">代理中心</li>
               <li><a href="member-agent-new.jsp">我的申请</a></li>
               <li><a href="member-agent.jsp">我的代理</a></li>
	          </ul>
	          <ul>
			   <li class="title">关注中心</li>
			   <li><a href="ShowAttentionServlet">我关注的商品</a></li>
			   <li class="active"><a href="ShowShopServlet">我关注的店铺</a></li>
			  </ul>
	          <ul>
               <li class="title">设置中心</li>
                 <li><a href="AccountServlet">账户信息</a></li>
                 <li><a href="AddressQueryServlet">收货地址</a></li>
                 <li><a href="member-setting-safe.jsp">账号安全</a></li>
          	</ul>
                </div><!--leftmenu end-->
		        <!-- 右侧内容 -->
		        <div class="fr mem-con">
		        	<h2>收货地址</h2>
		        	<div class="mem-set-address">
		        		<!-- 新增收货地址 -->
		        		<!-- 引用采购页 收货地址 -->
		        	<form action="AddressServlet" method="post"> 
		        		<div class="mem-add-address">
		        			<a href="javascript:;">新添收货地址</a>
		        		</div>
						<div class="add-address">
							<div class="item">
								<span class="label"><span style="color: red;padding:0 2px;">*</span>收货人：</span>
								<div class="fl"><input type="text" class="itext" name="name"/></div>
							</div>
							<div class="item">
								<span class="label"><span style="color: red;padding:0 2px;">*</span>所在地区：</span>
								<div class="fl"><span>
									<span>
										<select name="city" class="selt selt-s">
											<option value="0">请选择</option>
											<option value="1">北京</option>
											<option value="2">上海</option>
											<option value="3">河北</option>
											<option value="4">河南</option>
										</select>
									</span>
									<span>
										<select name="city" class="selt selt-shi">
											<option value="0">请选择市</option>
											<option value="1">北京</option>
											<option value="2">上海</option>
											<option value="3">河北</option>
										</select>
									</span>
									<span>
										<select name="city" class="selt selt-x">
											<option value="0">请选择县</option>
											<option value="1">北京</option>
											<option value="2">上海</option>
											<option value="3">河北</option>
										</select>
									</span>
								</span></div>
							</div>
							<div class="item">
								<span class="label"><span style="color: red;padding:0 2px;">*</span>详细地址：</span>
								<div class="fl"><input type="text" class="address" name="address"/></div>
							</div>
							<div class="item">
								<span class="label"><span style="color: red;padding:0 2px;">*</span>手机号：</span>
								<div class="fl"><input type="text" class="" name="phone"/></div>
								<div class="fl"><span class="label"><span style="color: red;padding:0 2px;">*</span>固定电话：</span><input type="text" class="" name="telephone"/></div>
							</div>
							<div class="item">
								<span class="label">邮箱：</span>
								<div class="fl">
									<input type="text" class="email" name="email"/>
									<div class="email-tx">用来接收订单提醒邮件，便于您及时了解订单状态</div>
								</div>
							</div>
							<div class="item">
								<span class="label"></span>
								<div class="fl"><input type="checkbox" class="check-default"/>设置为默认地址</div>
							</div>
							<div class="item">
								<span class="label"></span>
								<div class="fl"><input type="submit" value="保存地址"></div>
							</div>
						</div>
						</form>
						<div class="old-address">
						<c:forEach items="${data }" var="d">
						
							<h2>朱宝兰海淀</h2>
							<p><span>收货人：</span>${d.name }</p>
							<p><span>所在地区：</span>北京市海淀区中关村</p>
							<p><span>地址：</span>${d.address }</p>
							<p><span>手机：</span>${d.phone }</p>
							<p><span>固定电话：</span>${d.telephone }</p>
							<p><span>电子邮箱：</span>${d.email }</p>
						</c:forEach>
							<div class="old-address-set">
								<a href="javascript:;" class="set-auto">设为默认</a>
								<a href="javascript:;">编辑</a>
							</div>
							<span class="close">×</span>
						</div>
		        	</div>
		        	
		        </div>
		        <div class="clearfix"></div>
            	</div>
				
	        </div>
      <iframe src="footer.jsp" frameborder="0" width="100%" height="462" scrolling="no"></iframe>
</body>
</html>